﻿CREATE TABLE [dbo].[Accesses]
(
	[ID]                INT   NOT NULL,
	[ModuleId]			INT  NOT NULL,
	[Name]				VARCHAR (100) NOT NULL,
	[Level]				int not null, --,1,2 
	[ParentId]			INT NULL,
	[Action]			VARCHAR (30)  NULL,
	[Controller]		VARCHAR (30)  NULL,
	
)
go
ALTER TABLE [dbo].[Accesses]
	ADD CONSTRAINT [PK_Accesses]
	PRIMARY KEY (ID)
